package cn.ppool.xmlmapper.router.eneity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class EntryDTO {
    private String beanName;
    private String namespace;
    //
    private String id;
    private String func;
    private String originSql;
    private Boolean hasAnnotaion;
    //
    private Integer queryCount;
    private Integer successCount;
    private Integer errorCount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date initTime;
    private String returnClass;
}
